package com.example.flshtarvel.entity;

import java.sql.Timestamp;

public class Notes {
    private String notesId;            //游记id
    private String userId;             //用户id
    private String title;               //标题
    private String message;             //正文
    private String tags;                //标签
    private int likeNum;                //点赞数
    private Timestamp time;

    public void setLikeCount(int likeCount) {
        this.likeCount = likeCount;
    }

    public void setCollectCount(int collectCount) {
        this.collectCount = collectCount;
    }

    public int getLikeCount() {
        return likeCount;
    }

    public int getCollectCount() {
        return collectCount;
    }

    private int likeCount;
    private int collectCount;

    public String getNotesId() {
        return notesId;
    }

    public String getUserId() {
        return userId;
    }

    public String getTitle() {
        return title;
    }

    public String getMessage() {
        return message;
    }

    public String getTags() {
        return tags;
    }



    public void setNotesId(String notesId) {
        this.notesId = notesId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public void setTags(String tags) {
        this.tags = tags;
    }

    public void setLikeNum(int likeNum) {
        this.likeNum = likeNum;
    }

    public int getLikeNum() {
        return likeNum;
    }

    public Timestamp getTime() {
        return time;
    }

    public void setTime(Timestamp time) {
        this.time = time;
    }
}
